package com.java.entity;

public class Users {
    private String name;//用户真实姓名
    private String  sex;//性别
    private int age;//年龄
    private String id;//身份证号码
    private String phone;//手机号码
    private String address;//家庭住址
    private String userid;//账号 用来登录
    private String password;//密码 用来登录

    public Users() {
    }

    public Users(String name, String sex, int age, String id, String phone, String address, String userid, String password) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.id = id;
        this.phone = phone;
        this.address = address;
        this.userid = userid;
        this.password = password;
    }

    @Override
    public String toString() {
        return "users{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", id='" + id + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", userid='" + userid + '\'' +
                ", password='" + password + '\'' +
                '}';
    }




    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }



}
